Technical Q&A QA1004
Displaying the device tree in Mac OS X


Q: Mac OS X Çà Terminal.app ÇégópǵǃǢÇÈÇÃÇ≈Ç∑Ç™ÅAioreg ÉRÉ}ÉìÉhÇÃà¯êîÇ™ÇÊÇ≠ÇÌÇ©ÇËÇ‹ÇπÇÒÅBÉ}ÉjÉÖÉAÉã (man) ÉyÅ[ÉWÇÕë∂ç›ÇµÇ‹ÇπÇÒÅBioreg ÇÃà¯êîÇã≥ǶǃLJÇÁǶNjÇ∑Ç©ÅH

A: òbÇÕä»íPÇ≈Ç∑ÅBioreg ÇΔì¸óÕǵÅAåƒÇ—èoǵÇÃíÜÇ≈Åuïsê≥ÅvÇ»à¯êîÇégópǵǃǛǃÇ≠ÇæÇ≥Ç¢ÅBioreg Ç…ÇÊÇËÅAǪÇÃà¯êîÇÃÉäÉXÉgÇ™ï\é¶Ç≥ÇÍÇ‹Ç∑ÅBéüÇ…ÅAÉTÉìÉvÉãÇé¶ÇµÇ‹Ç∑ÅB



 [localhost:~] waynefla% ioreg -_
usage: ioreg [-b] [-c class | -l | -n name] [-p plane] [-s] [-w width]
where options are:
        -b show object name in bold
        -c list properties of objects with the given class
        -l list properties of all objects
        -n list properties of objects with the given name
        -p traverse registry over the given plane (IOService is default)
        -s show object state (eg. busy state, retain count)
        -w clip output to the given line width (0 is unlimited)
[localhost:~] waynefla%

ÉäÉXÉg 1. ÉRÉ}ÉìÉhÉâÉCÉìà¯êî




[Feb 05 2001]